package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleSpecialData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Mapper
//@Repository("ArticleSpecialDataMapper")
public interface ArticleSpecialDataMapper {
    void saveArticleSpecialData(ArticleSpecialData specialData);

    List<ArticleSpecialData> loadArticleSpecialData(@Param("layoutId") Integer layoutId);

    void deleteArticleSpecialData(@Param("id") Integer id);

    int deleteArticleSpecialDataByArticleId(@Param("articleId") String articleId);
}
